Skip to content

Conversation

@GlowingScrewdriver
Copy link

The sed expression that is used to set specific config values doesn't work while trying to set the following config: CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder,anbox-binder,anbox-hwbinder,anbox-vndbinder"
Instead, it throws the following error:
sed: -e expression # 1, char 80: unknown option to 's'

This is because the argument separator (comma) also appears in the expression argument itself. That causes sed to interpret the h in binder,hwbinder as an option to the s command.

This change makes semicolon (;) the separator instead of comma (,) to avoid the issue. If a new config value with a semicolon in it is ever added to the list in $CONFIGS_EQ, this will have to be changed.

The sed expression that is used to set specific config values doesn't work while trying to set the following config: 
CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder,anbox-binder,anbox-hwbinder,anbox-vndbinder"
Instead, it throws the following error:
sed: -e expression Halium#1, char 80: unknown option to `s'

This is because the argument separator (comma) also appears in the expression argument itself. That causes sed to interpret the 'h' in 'binder,hwbinder' as an option to the 's' command.

This change makes semicolon (;) the separator instead of comma (,) to avoid the issue. If a new config value with a semicolon in it is ever added to the list in $CONFIGS_EQ, this will have to be changed.
@GlowingScrewdriver
Copy link
Author

Is this PR in the wrong place?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant